YahnisElsts\PluginUpdateChecker\v5p0\Vcs\GitHubApi A

Total Complexity 60
Dependencies 5
Dependents 0
Total lines 428
Lines of code 216
Logical lines of code 113
Comment lines 155
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
getLatestRelease()
A
48 10 31
api()
S
50 5 28
getLatestTag()
S
57 4 17
getBranch()
S
58 4 15
setUpdateDownloadHeaders()
S
62 5 10
getRemoteFile()
S
65 4 8
buildApiUrl()
S
59 3 14
getLatestCommit()
S
61 3 13
addHttpRequestFilter()
S
65 3 8
getLatestCommitTime()
S
67 3 7
removeAuthHeaderFromRedirects()
S
65 3 9
matchesAssetFilter()
S
70 3 6
getUpdateDetectionStrategies()
S
63 2 11
__construct()
S
63 2 10
setAuthentication()
S
71 2 5
buildArchiveDownloadUrl()
S
66 1 9
enableReleaseAssets()
S
66 1 9
getTag()
S
78 1 3
getAuthorizationHeader()
S
78 1 3